49b8fdaf0a1a8890509c67388cf809a9e8b84d06
3 * Definition of core ResourceLoader modules.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 * http://www.gnu.org/copyleft/gpl.html
23 if ( !defined( 'MEDIAWIKI' ) ) {
24 die( 'Not an entry point.' );
30 * Special modules who have their own classes
33 // Scripts managed by the local wiki (stored in the MediaWiki namespace)
34 'site' => array( 'class' => 'ResourceLoaderSiteModule' ),
35 'noscript' => array( 'class' => 'ResourceLoaderNoscriptModule' ),
36 'startup' => array( 'class' => 'ResourceLoaderStartUpModule' ),
37 'filepage' => array( 'class' => 'ResourceLoaderFilePageModule' ),
38 'user.groups' => array( 'class' => 'ResourceLoaderUserGroupsModule' ),
40 // Scripts managed by the current user (stored in their user space)
41 'user' => array( 'class' => 'ResourceLoaderUserModule' ),
43 // Scripts generated based on the current user's preferences
44 'user.cssprefs' => array( 'class' => 'ResourceLoaderUserCSSPrefsModule' ),
46 // Populate mediawiki.user placeholders with information about the current user
47 'user.options' => array( 'class' => 'ResourceLoaderUserOptionsModule' ),
48 'user.tokens' => array( 'class' => 'ResourceLoaderUserTokensModule' ),
50 // Scripts for the dynamic language specific data, like grammar forms.
51 'mediawiki.language.data' => array( 'class' => 'ResourceLoaderLanguageDataModule' ),
54 * Common skin styles, grouped into three graded levels.
57 * The base level that only contains the most basic of common skin styles.
58 * Only styles for single elements are included, no styling for complex structures like the TOC
59 * is present. This level is for skins that want to implement the entire style of even content area
60 * structures like the TOC themselves.
63 * The most commonly used level for skins implemented from scratch. This level includes all the single
64 * element styles from "elements" as well as styles for complex structures such as the TOC that are output
65 * in the content area by MediaWiki rather than the skin. Essentially this is the common level that lets
66 * skins leave the style of the content area as it is normally styled, while leaving the rest of the skin
67 * up to the skin implementation.
69 * Level 3 "interface":
70 * The highest level, this stylesheet contains extra common styles for classes like .firstHeading, #contentSub,
71 * et cetera which are not outputted by MediaWiki but are common to skins like MonoBook, Vector, etc...
72 * Essentially this level is for styles that are common to MonoBook clones. And since practically every skin
73 * that currently exists within core is a MonoBook clone, all our core skins currently use this level.
75 * These modules are typically loaded by addModuleStyles which has absolutely no concept of dependency
76 * management. As a result the skins.common.* modules contain duplicate stylesheet references instead of
77 * setting 'dependencies' to the lower level the module is based on. For this reason avoid including multiple
78 * skins.common.* modules into your skin as this will result in duplicate css.
80 'skins.common.elements' => array(
82 'common/commonElements.css' => array( 'media' => 'screen' ),
84 'remoteBasePath' => $GLOBALS['wgStylePath'],
85 'localBasePath' => $GLOBALS['wgStyleDirectory'],
87 'skins.common.content' => array(
89 'common/commonElements.css' => array( 'media' => 'screen' ),
90 'common/commonContent.css' => array( 'media' => 'screen' ),
92 'remoteBasePath' => $GLOBALS['wgStylePath'],
93 'localBasePath' => $GLOBALS['wgStyleDirectory'],
95 'skins.common.interface' => array(
96 // Used in the web installer. Test it after modifying this definition!
98 'common/commonElements.css' => array( 'media' => 'screen' ),
99 'common/commonContent.css' => array( 'media' => 'screen' ),
100 'common/commonInterface.css' => array( 'media' => 'screen' ),
102 'remoteBasePath' => $GLOBALS['wgStylePath'],
103 'localBasePath' => $GLOBALS['wgStyleDirectory'],
108 * Be careful not to add 'scripts' to these modules,
109 * since they are loaded with OutputPage::addModuleStyles so that the skin styles
110 * apply without javascript.
111 * If a skin needs custom js in the interface, register a separate module
112 * and add it to the load queue with OutputPage::addModules.
114 * See Vector for an example.
116 'skins.cologneblue' => array(
118 'cologneblue/screen.css' => array( 'media' => 'screen' ),
119 'cologneblue/print.css' => array( 'media' => 'print' ),
121 'remoteBasePath' => $GLOBALS['wgStylePath'],
122 'localBasePath' => $GLOBALS['wgStyleDirectory'],
124 'skins.modern' => array(
126 'modern/main.css' => array( 'media' => 'screen' ),
127 'modern/print.css' => array( 'media' => 'print' ),
129 'remoteBasePath' => $GLOBALS['wgStylePath'],
130 'localBasePath' => $GLOBALS['wgStyleDirectory'],
132 'skins.vector.styles' => array(
133 // Used in the web installer. Test it after modifying this definition!
135 'vector/styles.less',
137 'remoteBasePath' => $GLOBALS['wgStylePath'],
138 'localBasePath' => $GLOBALS['wgStyleDirectory'],
140 'skins.monobook.styles' => array(
142 'monobook/main.css' => array( 'media' => 'screen' ),
144 'remoteBasePath' => $GLOBALS['wgStylePath'],
145 'localBasePath' => $GLOBALS['wgStyleDirectory'],
147 'skins.vector.js' => array(
149 'vector/collapsibleTabs.js',
153 'dependencies' => 'jquery.throttle-debounce',
154 'remoteBasePath' => $GLOBALS['wgStylePath'],
155 'localBasePath' => $GLOBALS['wgStyleDirectory'],
157 'skins.vector.collapsibleNav' => array(
159 'vector/collapsibleNav.js',
162 'vector-collapsiblenav-more',
164 'dependencies' => array(
169 'remoteBasePath' => $GLOBALS['wgStylePath'],
170 'localBasePath' => $GLOBALS['wgStyleDirectory'],
171 'position' => 'bottom',
177 'scripts' => 'resources/jquery/jquery.js',
179 'targets' => array( 'desktop', 'mobile' ),
184 'jquery.appear' => array(
185 'scripts' => 'resources/jquery/jquery.appear.js',
187 'jquery.arrowSteps' => array(
188 'scripts' => 'resources/jquery/jquery.arrowSteps.js',
189 'styles' => 'resources/jquery/jquery.arrowSteps.css',
191 'jquery.async' => array(
192 'scripts' => 'resources/jquery/jquery.async.js',
194 'jquery.autoEllipsis' => array(
195 'scripts' => 'resources/jquery/jquery.autoEllipsis.js',
196 'dependencies' => 'jquery.highlightText',
197 'targets' => array( 'desktop', 'mobile' ),
199 'jquery.badge' => array(
200 'scripts' => 'resources/jquery/jquery.badge.js',
201 'styles' => 'resources/jquery/jquery.badge.css',
202 'dependencies' => 'mediawiki.language',
204 'jquery.byteLength' => array(
205 'scripts' => 'resources/jquery/jquery.byteLength.js',
206 'targets' => array( 'desktop', 'mobile' ),
208 'jquery.byteLimit' => array(
209 'scripts' => 'resources/jquery/jquery.byteLimit.js',
210 'dependencies' => 'jquery.byteLength',
211 'targets' => array( 'desktop', 'mobile' ),
213 'jquery.checkboxShiftClick' => array(
214 'scripts' => 'resources/jquery/jquery.checkboxShiftClick.js',
215 'targets' => array( 'desktop', 'mobile' ),
217 'jquery.chosen' => array(
218 'scripts' => 'resources/jquery.chosen/chosen.jquery.js',
219 'styles' => 'resources/jquery.chosen/chosen.css',
221 'jquery.client' => array(
222 'scripts' => 'resources/jquery/jquery.client.js',
223 'targets' => array( 'desktop', 'mobile' ),
225 'jquery.color' => array(
226 'scripts' => 'resources/jquery/jquery.color.js',
227 'dependencies' => 'jquery.colorUtil',
229 'jquery.colorUtil' => array(
230 'scripts' => 'resources/jquery/jquery.colorUtil.js',
232 'jquery.cookie' => array(
233 'scripts' => 'resources/jquery/jquery.cookie.js',
234 'targets' => array( 'desktop', 'mobile' ),
236 'jquery.delayedBind' => array(
237 'scripts' => 'resources/jquery/jquery.delayedBind.js',
239 'jquery.expandableField' => array(
240 'scripts' => 'resources/jquery/jquery.expandableField.js',
242 'jquery.farbtastic' => array(
243 'scripts' => 'resources/jquery/jquery.farbtastic.js',
244 'styles' => 'resources/jquery/jquery.farbtastic.css',
245 'dependencies' => 'jquery.colorUtil',
247 'jquery.footHovzer' => array(
248 'scripts' => 'resources/jquery/jquery.footHovzer.js',
249 'styles' => 'resources/jquery/jquery.footHovzer.css',
251 'jquery.form' => array(
252 'scripts' => 'resources/jquery/jquery.form.js',
254 'jquery.fullscreen' => array(
255 'scripts' => 'resources/jquery/jquery.fullscreen.js',
257 'jquery.getAttrs' => array(
258 'scripts' => 'resources/jquery/jquery.getAttrs.js',
259 'targets' => array( 'desktop', 'mobile' ),
261 'jquery.hidpi' => array(
262 'scripts' => 'resources/jquery/jquery.hidpi.js',
263 'targets' => array( 'desktop', 'mobile' ),
265 'jquery.highlightText' => array(
266 'scripts' => 'resources/jquery/jquery.highlightText.js',
267 'dependencies' => 'jquery.mwExtension',
268 'targets' => array( 'desktop', 'mobile' ),
270 'jquery.hoverIntent' => array(
271 'scripts' => 'resources/jquery/jquery.hoverIntent.js',
273 'jquery.json' => array(
274 'scripts' => 'resources/jquery/jquery.json.js',
275 'targets' => array( 'mobile', 'desktop' ),
277 'jquery.localize' => array(
278 'scripts' => 'resources/jquery/jquery.localize.js',
280 'jquery.makeCollapsible' => array(
281 'scripts' => 'resources/jquery/jquery.makeCollapsible.js',
282 'styles' => 'resources/jquery/jquery.makeCollapsible.css',
283 'messages' => array( 'collapsible-expand', 'collapsible-collapse' ),
284 'targets' => array( 'desktop', 'mobile' ),
286 'jquery.mockjax' => array(
287 'scripts' => 'resources/jquery/jquery.mockjax.js',
289 'jquery.mw-jump' => array(
290 'scripts' => 'resources/jquery/jquery.mw-jump.js',
291 'targets' => array( 'desktop', 'mobile' ),
293 'jquery.mwExtension' => array(
294 'scripts' => 'resources/jquery/jquery.mwExtension.js',
295 'targets' => array( 'desktop', 'mobile' ),
297 'jquery.placeholder' => array(
298 'scripts' => 'resources/jquery/jquery.placeholder.js',
299 'targets' => array( 'desktop', 'mobile' ),
301 'jquery.qunit' => array(
302 'scripts' => 'resources/jquery/jquery.qunit.js',
303 'styles' => 'resources/jquery/jquery.qunit.css',
305 'targets' => array( 'desktop', 'mobile' ),
307 'jquery.qunit.completenessTest' => array(
308 'scripts' => 'resources/jquery/jquery.qunit.completenessTest.js',
309 'dependencies' => 'jquery.qunit',
310 'targets' => array( 'desktop', 'mobile' ),
312 'jquery.spinner' => array(
313 'scripts' => 'resources/jquery/jquery.spinner.js',
314 'styles' => 'resources/jquery/jquery.spinner.css',
316 'jquery.jStorage' => array(
317 'scripts' => 'resources/jquery/jquery.jStorage.js',
318 'dependencies' => 'jquery.json',
320 'jquery.suggestions' => array(
321 'scripts' => 'resources/jquery/jquery.suggestions.js',
322 'styles' => 'resources/jquery/jquery.suggestions.css',
323 'dependencies' => 'jquery.autoEllipsis',
325 'jquery.tabIndex' => array(
326 'scripts' => 'resources/jquery/jquery.tabIndex.js',
328 'jquery.tablesorter' => array(
329 'scripts' => 'resources/jquery/jquery.tablesorter.js',
330 'styles' => 'resources/jquery/jquery.tablesorter.css',
331 'messages' => array( 'sort-descending', 'sort-ascending' ),
332 'dependencies' => array(
333 'jquery.mwExtension',
334 'mediawiki.language.months',
337 'jquery.textSelection' => array(
338 'scripts' => 'resources/jquery/jquery.textSelection.js',
339 'dependencies' => 'jquery.client',
341 'jquery.throttle-debounce' => array(
342 'scripts' => 'resources/jquery/jquery.ba-throttle-debounce.js',
344 'jquery.validate' => array(
345 'scripts' => 'resources/jquery/jquery.validate.js',
347 'jquery.xmldom' => array(
348 'scripts' => 'resources/jquery/jquery.xmldom.js',
353 'jquery.tipsy' => array(
354 'scripts' => 'resources/jquery.tipsy/jquery.tipsy.js',
355 'styles' => 'resources/jquery.tipsy/jquery.tipsy.css',
361 'jquery.ui.core' => array(
362 'scripts' => 'resources/jquery.ui/jquery.ui.core.js',
363 'skinStyles' => array(
365 'resources/jquery.ui/themes/default/jquery.ui.core.css',
366 'resources/jquery.ui/themes/default/jquery.ui.theme.css',
369 'resources/jquery.ui/themes/vector/jquery.ui.core.css',
370 'resources/jquery.ui/themes/vector/jquery.ui.theme.css',
373 'dependencies' => 'jquery',
374 'group' => 'jquery.ui',
376 'jquery.ui.widget' => array(
377 'scripts' => 'resources/jquery.ui/jquery.ui.widget.js',
378 'group' => 'jquery.ui',
380 'jquery.ui.mouse' => array(
381 'scripts' => 'resources/jquery.ui/jquery.ui.mouse.js',
382 'dependencies' => 'jquery.ui.widget',
383 'group' => 'jquery.ui',
385 'jquery.ui.position' => array(
386 'scripts' => 'resources/jquery.ui/jquery.ui.position.js',
387 'group' => 'jquery.ui',
390 'jquery.ui.draggable' => array(
391 'scripts' => 'resources/jquery.ui/jquery.ui.draggable.js',
392 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.mouse', 'jquery.ui.widget' ),
393 'group' => 'jquery.ui',
395 'jquery.ui.droppable' => array(
396 'scripts' => 'resources/jquery.ui/jquery.ui.droppable.js',
397 'dependencies' => array(
398 'jquery.ui.core', 'jquery.ui.mouse', 'jquery.ui.widget', 'jquery.ui.draggable',
400 'group' => 'jquery.ui',
402 'jquery.ui.resizable' => array(
403 'scripts' => 'resources/jquery.ui/jquery.ui.resizable.js',
404 'skinStyles' => array(
405 'default' => 'resources/jquery.ui/themes/default/jquery.ui.resizable.css',
406 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.resizable.css',
408 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
409 'group' => 'jquery.ui',
411 'jquery.ui.selectable' => array(
412 'scripts' => 'resources/jquery.ui/jquery.ui.selectable.js',
413 'skinStyles' => array(
414 'default' => 'resources/jquery.ui/themes/default/jquery.ui.selectable.css',
415 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.selectable.css',
417 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
418 'group' => 'jquery.ui',
420 'jquery.ui.sortable' => array(
421 'scripts' => 'resources/jquery.ui/jquery.ui.sortable.js',
422 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
423 'group' => 'jquery.ui',
426 'jquery.ui.accordion' => array(
427 'scripts' => 'resources/jquery.ui/jquery.ui.accordion.js',
428 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
429 'skinStyles' => array(
430 'default' => 'resources/jquery.ui/themes/default/jquery.ui.accordion.css',
431 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.accordion.css',
433 'group' => 'jquery.ui',
435 'jquery.ui.autocomplete' => array(
436 'scripts' => 'resources/jquery.ui/jquery.ui.autocomplete.js',
437 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.position' ),
438 'skinStyles' => array(
439 'default' => 'resources/jquery.ui/themes/default/jquery.ui.autocomplete.css',
440 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.autocomplete.css',
442 'group' => 'jquery.ui',
444 'jquery.ui.button' => array(
445 'scripts' => 'resources/jquery.ui/jquery.ui.button.js',
446 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
447 'skinStyles' => array(
448 'default' => 'resources/jquery.ui/themes/default/jquery.ui.button.css',
449 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.button.css',
451 'group' => 'jquery.ui',
453 'jquery.ui.datepicker' => array(
454 'scripts' => 'resources/jquery.ui/jquery.ui.datepicker.js',
455 'dependencies' => 'jquery.ui.core',
456 'skinStyles' => array(
457 'default' => 'resources/jquery.ui/themes/default/jquery.ui.datepicker.css',
458 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.datepicker.css',
460 'languageScripts' => array(
461 'af' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-af.js',
462 'ar' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
463 'az' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-az.js',
464 'bg' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
465 'bs' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
466 'ca' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
467 'cs' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
468 'da' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-da.js',
469 'de' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-de.js',
470 'el' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-el.js',
471 'en-gb' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
472 'eo' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
473 'es' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-es.js',
474 'et' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-et.js',
475 'eu' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
476 'fa' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
477 'fi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
478 'fo' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
479 'fr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
480 'gl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
481 'he' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-he.js',
482 'hi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
483 'hr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
484 'hu' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
485 'hy' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
486 'id' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-id.js',
487 'is' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-is.js',
488 'it' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-it.js',
489 'ja' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
490 'ka' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
491 'kk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
492 'km' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-km.js',
493 'ko' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
494 'lb' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
495 'lt' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
496 'lv' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
497 'mk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
498 'ml' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
499 'ms' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
500 'nl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
501 'no' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-no.js',
502 'pl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
503 'pt' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
504 'pt-br' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
505 'rm' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
506 'ro' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
507 'ru' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
508 'sk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
509 'sl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
510 'sq' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
511 'sr-sr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
512 'sr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
513 'sv' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
514 'ta' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
515 'th' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-th.js',
516 'tr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
517 'uk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
518 'vi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
519 'zh-cn' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
520 'zh-hk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
521 'zh-tw' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
523 'group' => 'jquery.ui',
525 'jquery.ui.dialog' => array(
526 'scripts' => 'resources/jquery.ui/jquery.ui.dialog.js',
527 'dependencies' => array(
531 'jquery.ui.draggable',
533 'jquery.ui.position',
534 'jquery.ui.resizable',
536 'skinStyles' => array(
537 'default' => 'resources/jquery.ui/themes/default/jquery.ui.dialog.css',
538 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.dialog.css',
540 'group' => 'jquery.ui',
542 'jquery.ui.progressbar' => array(
543 'scripts' => 'resources/jquery.ui/jquery.ui.progressbar.js',
544 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
545 'skinStyles' => array(
546 'default' => 'resources/jquery.ui/themes/default/jquery.ui.progressbar.css',
547 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.progressbar.css',
549 'group' => 'jquery.ui',
551 'jquery.ui.slider' => array(
552 'scripts' => 'resources/jquery.ui/jquery.ui.slider.js',
553 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
554 'skinStyles' => array(
555 'default' => 'resources/jquery.ui/themes/default/jquery.ui.slider.css',
556 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.slider.css',
558 'group' => 'jquery.ui',
560 'jquery.ui.tabs' => array(
561 'scripts' => 'resources/jquery.ui/jquery.ui.tabs.js',
562 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
563 'skinStyles' => array(
564 'default' => 'resources/jquery.ui/themes/default/jquery.ui.tabs.css',
565 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.tabs.css',
567 'group' => 'jquery.ui',
570 'jquery.effects.core' => array(
571 'scripts' => 'resources/jquery.effects/jquery.effects.core.js',
572 'dependencies' => 'jquery',
573 'group' => 'jquery.ui',
575 'jquery.effects.blind' => array(
576 'scripts' => 'resources/jquery.effects/jquery.effects.blind.js',
577 'dependencies' => 'jquery.effects.core',
578 'group' => 'jquery.ui',
580 'jquery.effects.bounce' => array(
581 'scripts' => 'resources/jquery.effects/jquery.effects.bounce.js',
582 'dependencies' => 'jquery.effects.core',
583 'group' => 'jquery.ui',
585 'jquery.effects.clip' => array(
586 'scripts' => 'resources/jquery.effects/jquery.effects.clip.js',
587 'dependencies' => 'jquery.effects.core',
588 'group' => 'jquery.ui',
590 'jquery.effects.drop' => array(
591 'scripts' => 'resources/jquery.effects/jquery.effects.drop.js',
592 'dependencies' => 'jquery.effects.core',
593 'group' => 'jquery.ui',
595 'jquery.effects.explode' => array(
596 'scripts' => 'resources/jquery.effects/jquery.effects.explode.js',
597 'dependencies' => 'jquery.effects.core',
598 'group' => 'jquery.ui',
600 'jquery.effects.fade' => array(
601 'scripts' => 'resources/jquery.effects/jquery.effects.fade.js',
602 'dependencies' => 'jquery.effects.core',
603 'group' => 'jquery.ui',
605 'jquery.effects.fold' => array(
606 'scripts' => 'resources/jquery.effects/jquery.effects.fold.js',
607 'dependencies' => 'jquery.effects.core',
608 'group' => 'jquery.ui',
610 'jquery.effects.highlight' => array(
611 'scripts' => 'resources/jquery.effects/jquery.effects.highlight.js',
612 'dependencies' => 'jquery.effects.core',
613 'group' => 'jquery.ui',
615 'jquery.effects.pulsate' => array(
616 'scripts' => 'resources/jquery.effects/jquery.effects.pulsate.js',
617 'dependencies' => 'jquery.effects.core',
618 'group' => 'jquery.ui',
620 'jquery.effects.scale' => array(
621 'scripts' => 'resources/jquery.effects/jquery.effects.scale.js',
622 'dependencies' => 'jquery.effects.core',
623 'group' => 'jquery.ui',
625 'jquery.effects.shake' => array(
626 'scripts' => 'resources/jquery.effects/jquery.effects.shake.js',
627 'dependencies' => 'jquery.effects.core',
628 'group' => 'jquery.ui',
630 'jquery.effects.slide' => array(
631 'scripts' => 'resources/jquery.effects/jquery.effects.slide.js',
632 'dependencies' => 'jquery.effects.core',
633 'group' => 'jquery.ui',
635 'jquery.effects.transfer' => array(
636 'scripts' => 'resources/jquery.effects/jquery.effects.transfer.js',
637 'dependencies' => 'jquery.effects.core',
638 'group' => 'jquery.ui',
644 'scripts' => 'resources/moment/moment.js',
645 'languageScripts' => array(
646 'ar-ma' => 'resources/moment/lang/ar-ma.js',
647 'ar' => 'resources/moment/lang/ar.js',
648 'bg' => 'resources/moment/lang/bg.js',
649 'br' => 'resources/moment/lang/br.js',
650 'bs' => 'resources/moment/lang/bs.js',
651 'ca' => 'resources/moment/lang/ca.js',
652 'cs' => 'resources/moment/lang/cs.js',
653 'cv' => 'resources/moment/lang/cv.js',
654 'cy' => 'resources/moment/lang/cy.js',
655 'da' => 'resources/moment/lang/da.js',
656 'de' => 'resources/moment/lang/de.js',
657 'el' => 'resources/moment/lang/el.js',
658 'en-au' => 'resources/moment/lang/en-au.js',
659 'en-ca' => 'resources/moment/lang/en-ca.js',
660 'en-gb' => 'resources/moment/lang/en-gb.js',
661 'eo' => 'resources/moment/lang/eo.js',
662 'es' => 'resources/moment/lang/es.js',
663 'et' => 'resources/moment/lang/et.js',
664 'eu' => 'resources/moment/lang/eu.js',
665 'fa' => 'resources/moment/lang/fa.js',
666 'fi' => 'resources/moment/lang/fi.js',
667 'fo' => 'resources/moment/lang/fo.js',
668 'fr-ca' => 'resources/moment/lang/fr-ca.js',
669 'fr' => 'resources/moment/lang/fr.js',
670 'gl' => 'resources/moment/lang/gl.js',
671 'he' => 'resources/moment/lang/he.js',
672 'hi' => 'resources/moment/lang/hi.js',
673 'hr' => 'resources/moment/lang/hr.js',
674 'hu' => 'resources/moment/lang/hu.js',
675 'hy-am' => 'resources/moment/lang/hy-am.js',
676 'id' => 'resources/moment/lang/id.js',
677 'is' => 'resources/moment/lang/is.js',
678 'it' => 'resources/moment/lang/it.js',
679 'ja' => 'resources/moment/lang/ja.js',
680 'ka' => 'resources/moment/lang/ka.js',
681 'ko' => 'resources/moment/lang/ko.js',
682 'lt' => 'resources/moment/lang/lt.js',
683 'lv' => 'resources/moment/lang/lv.js',
684 'mk' => 'resources/moment/lang/mk.js',
685 'ml' => 'resources/moment/lang/ml.js',
686 'mr' => 'resources/moment/lang/mr.js',
687 'ms-my' => 'resources/moment/lang/ms-my.js',
688 'nb' => 'resources/moment/lang/nb.js',
689 'ne' => 'resources/moment/lang/ne.js',
690 'nl' => 'resources/moment/lang/nl.js',
691 'nn' => 'resources/moment/lang/nn.js',
692 'pl' => 'resources/moment/lang/pl.js',
693 'pt-br' => 'resources/moment/lang/pt-br.js',
694 'pt' => 'resources/moment/lang/pt.js',
695 'ro' => 'resources/moment/lang/ro.js',
696 'rs' => 'resources/moment/lang/rs.js',
697 'ru' => 'resources/moment/lang/ru.js',
698 'sk' => 'resources/moment/lang/sk.js',
699 'sl' => 'resources/moment/lang/sl.js',
700 'sq' => 'resources/moment/lang/sq.js',
701 'sv' => 'resources/moment/lang/sv.js',
702 'ta' => 'resources/moment/lang/ta.js',
703 'th' => 'resources/moment/lang/th.js',
704 'tl-ph' => 'resources/moment/lang/tl-ph.js',
705 'tr' => 'resources/moment/lang/tr.js',
706 'tzm-la' => 'resources/moment/lang/tzm-la.js',
707 'tzm' => 'resources/moment/lang/tzm.js',
708 'uk' => 'resources/moment/lang/uk.js',
709 'uz' => 'resources/moment/lang/uz.js',
710 'vn' => 'resources/moment/lang/vn.js',
711 'zh-cn' => 'resources/moment/lang/zh-cn.js',
712 'zh-tw' => 'resources/moment/lang/zh-tw.js',
718 'mediawiki' => array(
719 'scripts' => 'resources/mediawiki/mediawiki.js',
720 'debugScripts' => 'resources/mediawiki/mediawiki.log.js',
722 'targets' => array( 'desktop', 'mobile' ),
724 'mediawiki.api' => array(
725 'scripts' => 'resources/mediawiki.api/mediawiki.api.js',
726 'dependencies' => 'mediawiki.util',
727 'targets' => array( 'desktop', 'mobile' ),
729 'mediawiki.api.category' => array(
730 'scripts' => 'resources/mediawiki.api/mediawiki.api.category.js',
731 'dependencies' => array(
736 'mediawiki.api.edit' => array(
737 'scripts' => 'resources/mediawiki.api/mediawiki.api.edit.js',
738 'dependencies' => array(
743 'mediawiki.api.login' => array(
744 'scripts' => 'resources/mediawiki.api/mediawiki.api.login.js',
745 'dependencies' => array(
749 'mediawiki.api.parse' => array(
750 'scripts' => 'resources/mediawiki.api/mediawiki.api.parse.js',
751 'dependencies' => 'mediawiki.api',
753 'mediawiki.api.watch' => array(
754 'scripts' => 'resources/mediawiki.api/mediawiki.api.watch.js',
755 'dependencies' => array(
760 'mediawiki.debug' => array(
761 'scripts' => 'resources/mediawiki/mediawiki.debug.js',
762 'styles' => 'resources/mediawiki/mediawiki.debug.less',
763 'dependencies' => 'jquery.footHovzer',
764 'position' => 'bottom',
766 'mediawiki.debug.init' => array(
767 'scripts' => 'resources/mediawiki/mediawiki.debug.init.js',
768 'dependencies' => 'mediawiki.debug',
769 // Uses a custom mw.config variable that is set in debughtml,
770 // must be loaded on the bottom
771 'position' => 'bottom',
773 'mediawiki.feedback' => array(
774 'scripts' => 'resources/mediawiki/mediawiki.feedback.js',
775 'styles' => 'resources/mediawiki/mediawiki.feedback.css',
776 'dependencies' => array(
777 'mediawiki.api.edit',
779 'mediawiki.jqueryMsg',
783 'feedback-bugornote',
798 'mediawiki.hidpi' => array(
799 'scripts' => 'resources/mediawiki/mediawiki.hidpi.js',
800 'dependencies' => array(
803 'targets' => array( 'desktop', 'mobile' ),
805 'mediawiki.hlist' => array(
806 'styles' => 'resources/mediawiki/mediawiki.hlist.css',
807 'scripts' => 'resources/mediawiki/mediawiki.hlist.js',
808 'dependencies' => array(
812 'mediawiki.htmlform' => array(
813 'scripts' => 'resources/mediawiki/mediawiki.htmlform.js',
814 'messages' => array( 'htmlform-chosen-placeholder' ),
816 'mediawiki.icon' => array(
817 'styles' => 'resources/mediawiki/mediawiki.icon.less',
819 'mediawiki.inspect' => array(
820 'scripts' => 'resources/mediawiki/mediawiki.inspect.js',
821 'dependencies' => array(
825 'targets' => array( 'desktop', 'mobile' ),
827 'mediawiki.notification' => array(
829 'resources/mediawiki/mediawiki.notification.css',
830 'resources/mediawiki/mediawiki.notification.hideForPrint.css' => array( 'media' => 'print' ),
832 'scripts' => 'resources/mediawiki/mediawiki.notification.js',
833 'dependencies' => array(
834 'mediawiki.page.startup',
836 'targets' => array( 'desktop', 'mobile' ),
838 'mediawiki.notify' => array(
839 'scripts' => 'resources/mediawiki/mediawiki.notify.js',
840 'targets' => array( 'desktop', 'mobile' ),
842 'mediawiki.searchSuggest' => array(
843 'scripts' => 'resources/mediawiki/mediawiki.searchSuggest.js',
844 'styles' => 'resources/mediawiki/mediawiki.searchSuggest.css',
846 'searchsuggest-search',
847 'searchsuggest-containing',
849 'dependencies' => array(
850 'jquery.autoEllipsis',
852 'jquery.placeholder',
853 'jquery.suggestions',
857 'mediawiki.Title' => array(
858 'scripts' => 'resources/mediawiki/mediawiki.Title.js',
859 'dependencies' => array(
863 'targets' => array( 'desktop', 'mobile' ),
865 'mediawiki.toc' => array(
866 'scripts' => 'resources/mediawiki/mediawiki.toc.js',
867 'dependencies' => array(
870 'messages' => array( 'showtoc', 'hidetoc' ),
871 'targets' => array( 'desktop', 'mobile' ),
873 'mediawiki.Uri' => array(
874 'scripts' => 'resources/mediawiki/mediawiki.Uri.js',
875 'targets' => array( 'desktop', 'mobile' ),
877 'mediawiki.user' => array(
878 'scripts' => 'resources/mediawiki/mediawiki.user.js',
879 'dependencies' => array(
885 'targets' => array( 'desktop', 'mobile' ),
887 'mediawiki.util' => array(
888 'scripts' => 'resources/mediawiki/mediawiki.util.js',
889 'dependencies' => array(
891 'jquery.mwExtension',
895 'position' => 'top', // For $wgPreloadJavaScriptMwUtil
896 'targets' => array( 'desktop', 'mobile' ),
899 /* MediaWiki Action */
901 'mediawiki.action.edit' => array(
902 'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.js',
903 'dependencies' => array(
904 'mediawiki.action.edit.styles',
905 'jquery.textSelection',
910 'mediawiki.action.edit.styles' => array(
911 'styles' => 'resources/mediawiki.action/mediawiki.action.edit.styles.css',
914 'mediawiki.action.edit.collapsibleFooter' => array(
915 'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
916 'styles' => 'resources/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
917 'dependencies' => array(
918 'jquery.makeCollapsible',
923 'mediawiki.action.edit.preview' => array(
924 'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.preview.js',
925 'dependencies' => array(
928 'mediawiki.action.history.diff',
931 'mediawiki.action.history' => array(
932 'scripts' => 'resources/mediawiki.action/mediawiki.action.history.js',
933 'group' => 'mediawiki.action.history',
935 'mediawiki.action.history.diff' => array(
936 'styles' => 'resources/mediawiki.action/mediawiki.action.history.diff.css',
937 'group' => 'mediawiki.action.history',
938 'targets' => array( 'desktop', 'mobile' ),
940 'mediawiki.action.view.dblClickEdit' => array(
941 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
942 'dependencies' => array(
944 'mediawiki.page.startup',
947 'mediawiki.action.view.metadata' => array(
948 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.metadata.js',
954 'mediawiki.action.view.postEdit' => array(
955 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.postEdit.js',
956 'styles' => 'resources/mediawiki.action/mediawiki.action.view.postEdit.css',
957 'dependencies' => array(
959 'mediawiki.jqueryMsg'
962 'postedit-confirmation',
965 'mediawiki.action.view.redirectToFragment' => array(
966 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.redirectToFragment.js',
967 'dependencies' => array(
972 'mediawiki.action.view.rightClickEdit' => array(
973 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
975 'mediawiki.action.edit.editWarning' => array(
976 'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.editWarning.js',
977 'dependencies' => array(
978 'mediawiki.jqueryMsg'
981 'editwarning-warning',
985 // Alias for backwards compatibility
986 'mediawiki.action.watch.ajax' => array(
987 'dependencies' => 'mediawiki.page.watch.ajax'
990 /* MediaWiki Language */
992 'mediawiki.language' => array(
994 'resources/mediawiki.language/mediawiki.language.js',
995 'resources/mediawiki.language/mediawiki.language.numbers.js'
997 'languageScripts' => array(
998 'bs' => 'resources/mediawiki.language/languages/bs.js',
999 'dsb' => 'resources/mediawiki.language/languages/dsb.js',
1000 'fi' => 'resources/mediawiki.language/languages/fi.js',
1001 'ga' => 'resources/mediawiki.language/languages/ga.js',
1002 'he' => 'resources/mediawiki.language/languages/he.js',
1003 'hsb' => 'resources/mediawiki.language/languages/hsb.js',
1004 'hu' => 'resources/mediawiki.language/languages/hu.js',
1005 'hy' => 'resources/mediawiki.language/languages/hy.js',
1006 'la' => 'resources/mediawiki.language/languages/la.js',
1007 'os' => 'resources/mediawiki.language/languages/os.js',
1008 'ru' => 'resources/mediawiki.language/languages/ru.js',
1009 'sl' => 'resources/mediawiki.language/languages/sl.js',
1010 'uk' => 'resources/mediawiki.language/languages/uk.js',
1012 'dependencies' => array(
1013 'mediawiki.language.data',
1016 'targets' => array( 'desktop', 'mobile' ),
1019 'mediawiki.cldr' => array(
1020 'scripts' => 'resources/mediawiki.language/mediawiki.cldr.js',
1021 'dependencies' => array(
1022 'mediawiki.libs.pluralruleparser',
1024 'targets' => array( 'desktop', 'mobile' ),
1027 'mediawiki.libs.pluralruleparser' => array(
1028 'scripts' => 'resources/mediawiki.libs/CLDRPluralRuleParser.js',
1029 'targets' => array( 'desktop', 'mobile' ),
1032 'mediawiki.language.init' => array(
1033 'scripts' => 'resources/mediawiki.language/mediawiki.language.init.js',
1034 'targets' => array( 'desktop', 'mobile' ),
1037 'mediawiki.jqueryMsg' => array(
1038 'scripts' => 'resources/mediawiki/mediawiki.jqueryMsg.js',
1039 'dependencies' => array(
1041 'mediawiki.language',
1043 'targets' => array( 'desktop', 'mobile' ),
1046 'mediawiki.language.months' => array(
1047 'scripts' => 'resources/mediawiki.language/mediawiki.language.months.js',
1048 'dependencies' => 'mediawiki.language',
1049 'messages' => array_merge(
1050 Language
::$mMonthMsgs,
1051 Language
::$mMonthGenMsgs,
1052 Language
::$mMonthAbbrevMsgs
1056 /* MediaWiki Libs */
1058 'mediawiki.libs.jpegmeta' => array(
1059 'scripts' => 'resources/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1062 /* MediaWiki Page */
1064 'mediawiki.page.gallery' => array(
1065 'scripts' => 'resources/mediawiki.page/mediawiki.page.gallery.js',
1067 'mediawiki.page.ready' => array(
1068 'scripts' => 'resources/mediawiki.page/mediawiki.page.ready.js',
1069 'dependencies' => array(
1070 'jquery.checkboxShiftClick',
1071 'jquery.makeCollapsible',
1072 'jquery.placeholder',
1076 'targets' => array( 'desktop', 'mobile' ),
1078 'mediawiki.page.startup' => array(
1079 'scripts' => 'resources/mediawiki.page/mediawiki.page.startup.js',
1080 'dependencies' => array(
1084 'position' => 'top',
1085 'targets' => array( 'desktop', 'mobile' ),
1087 'mediawiki.page.patrol.ajax' => array(
1088 'scripts' => 'resources/mediawiki.page/mediawiki.page.patrol.ajax.js',
1089 'dependencies' => array(
1090 'mediawiki.page.startup',
1098 'messages' => array(
1099 'markedaspatrollednotify',
1100 'markedaspatrollederrornotify',
1101 'markedaspatrollederror-noautopatrol'
1104 'mediawiki.page.watch.ajax' => array(
1105 'scripts' => 'resources/mediawiki.page/mediawiki.page.watch.ajax.js',
1106 'dependencies' => array(
1107 'mediawiki.page.startup',
1108 'mediawiki.api.watch',
1111 'jquery.mwExtension',
1113 'messages' => array(
1119 'tooltip-ca-unwatch',
1123 'mediawiki.page.image.pagination' => array(
1124 'scripts' => 'resources/mediawiki.page/mediawiki.page.image.pagination.js',
1125 'dependencies' => array( 'jquery.spinner' )
1128 /* MediaWiki Special pages */
1130 'mediawiki.special' => array(
1131 'scripts' => 'resources/mediawiki.special/mediawiki.special.js',
1132 'styles' => 'resources/mediawiki.special/mediawiki.special.css',
1134 'mediawiki.special.block' => array(
1135 'scripts' => 'resources/mediawiki.special/mediawiki.special.block.js',
1136 'styles' => 'resources/mediawiki.special/mediawiki.special.block.css',
1137 'dependencies' => array(
1141 'mediawiki.special.changeemail' => array(
1142 'scripts' => 'resources/mediawiki.special/mediawiki.special.changeemail.js',
1143 'styles' => 'resources/mediawiki.special/mediawiki.special.changeemail.css',
1144 'dependencies' => array(
1147 'messages' => array(
1148 'email-address-validity-valid',
1149 'email-address-validity-invalid',
1152 'mediawiki.special.changeslist' => array(
1153 'styles' => 'resources/mediawiki.special/mediawiki.special.changeslist.css',
1155 'mediawiki.special.changeslist.legend' => array(
1156 'styles' => 'resources/mediawiki.special/mediawiki.special.changeslist.legend.css',
1158 'mediawiki.special.changeslist.legend.js' => array(
1159 'scripts' => 'resources/mediawiki.special/mediawiki.special.changeslist.legend.js',
1160 'dependencies' => array(
1161 'jquery.makeCollapsible',
1165 'mediawiki.special.changeslist.enhanced' => array(
1166 'styles' => 'resources/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1168 'mediawiki.special.movePage' => array(
1169 'scripts' => 'resources/mediawiki.special/mediawiki.special.movePage.js',
1170 'dependencies' => 'jquery.byteLimit',
1172 'mediawiki.special.pagesWithProp' => array(
1173 'styles' => 'resources/mediawiki.special/mediawiki.special.pagesWithProp.css',
1175 'mediawiki.special.preferences' => array(
1176 'scripts' => 'resources/mediawiki.special/mediawiki.special.preferences.js',
1177 'styles' => 'resources/mediawiki.special/mediawiki.special.preferences.css',
1178 'position' => 'top',
1179 'skinStyles' => array(
1180 'vector' => 'skins/vector/special.preferences.less',
1182 'messages' => array(
1183 'prefs-tabs-navigation-hint',
1185 'dependencies' => array(
1186 'mediawiki.language',
1189 'mediawiki.special.recentchanges' => array(
1190 'scripts' => 'resources/mediawiki.special/mediawiki.special.recentchanges.js',
1191 'dependencies' => array( 'mediawiki.special' ),
1192 'position' => 'top',
1194 'mediawiki.special.search' => array(
1195 'scripts' => 'resources/mediawiki.special/mediawiki.special.search.js',
1196 'styles' => 'resources/mediawiki.special/mediawiki.special.search.css',
1197 'messages' => array(
1198 'powersearch-togglelabel',
1199 'powersearch-toggleall',
1200 'powersearch-togglenone',
1203 'mediawiki.special.undelete' => array(
1204 'scripts' => 'resources/mediawiki.special/mediawiki.special.undelete.js',
1206 'mediawiki.special.upload' => array(
1207 // @todo merge in remainder of mediawiki.legacy.upload
1208 'scripts' => 'resources/mediawiki.special/mediawiki.special.upload.js',
1209 'messages' => array(
1217 'dependencies' => array(
1218 'mediawiki.libs.jpegmeta',
1222 'mediawiki.special.userlogin.common.styles' => array(
1224 'resources/mediawiki.special/mediawiki.special.userlogin.common.css',
1226 'position' => 'top',
1228 'mediawiki.special.userlogin.signup.styles' => array(
1230 'resources/mediawiki.special/mediawiki.special.userlogin.signup.css',
1232 'position' => 'top',
1234 'mediawiki.special.userlogin.login.styles' => array(
1236 'resources/mediawiki.special/mediawiki.special.userlogin.login.css',
1238 'position' => 'top',
1240 'mediawiki.special.userlogin.common.js' => array(
1242 'resources/mediawiki.special/mediawiki.special.userlogin.common.js',
1244 'messages' => array(
1245 'createacct-captcha',
1246 'createacct-imgcaptcha-ph',
1249 'mediawiki.special.userlogin.signup.js' => array(
1250 'scripts' => 'resources/mediawiki.special/mediawiki.special.userlogin.signup.js',
1251 'messages' => array(
1253 'createacct-emailrequired',
1257 'dependencies' => array(
1259 'mediawiki.jqueryMsg',
1260 'jquery.throttle-debounce',
1263 'mediawiki.special.javaScriptTest' => array(
1264 'scripts' => 'resources/mediawiki.special/mediawiki.special.javaScriptTest.js',
1265 'messages' => array_merge( Skin
::getSkinNameMessages(), array(
1267 'javascripttest-pagetext-skins',
1269 'dependencies' => array( 'jquery.qunit' ),
1270 'position' => 'top',
1271 'targets' => array( 'desktop', 'mobile' ),
1273 'mediawiki.special.version' => array(
1274 'styles' => 'resources/mediawiki.special/mediawiki.special.version.css',
1277 /* MediaWiki Legacy */
1279 'mediawiki.legacy.ajax' => array(
1280 'scripts' => 'common/ajax.js',
1281 'remoteBasePath' => $GLOBALS['wgStylePath'],
1282 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1283 'dependencies' => array(
1285 'mediawiki.legacy.wikibits',
1287 'position' => 'top', // Temporary hack for legacy support
1289 'mediawiki.legacy.commonPrint' => array(
1290 'styles' => array( 'common/commonPrint.css' => array( 'media' => 'print' ) ),
1291 'remoteBasePath' => $GLOBALS['wgStylePath'],
1292 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1294 'mediawiki.legacy.config' => array(
1295 // Used in the web installer. Test it after modifying this definition!
1296 'scripts' => 'common/config.js',
1297 'styles' => array( 'common/config.css' ),
1298 'remoteBasePath' => $GLOBALS['wgStylePath'],
1299 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1300 'dependencies' => 'mediawiki.legacy.wikibits',
1302 'mediawiki.legacy.protect' => array(
1303 'scripts' => 'common/protect.js',
1304 'remoteBasePath' => $GLOBALS['wgStylePath'],
1305 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1306 'dependencies' => array(
1309 'position' => 'top',
1311 'mediawiki.legacy.shared' => array(
1312 // Used in the web installer. Test it after modifying this definition!
1313 'styles' => array( 'common/shared.css' => array( 'media' => 'screen' ) ),
1314 'remoteBasePath' => $GLOBALS['wgStylePath'],
1315 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1317 'mediawiki.legacy.oldshared' => array(
1318 'styles' => array( 'common/oldshared.css' => array( 'media' => 'screen' ) ),
1319 'remoteBasePath' => $GLOBALS['wgStylePath'],
1320 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1322 'mediawiki.legacy.upload' => array(
1323 'scripts' => 'common/upload.js',
1324 'remoteBasePath' => $GLOBALS['wgStylePath'],
1325 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1326 'dependencies' => array(
1333 'mediawiki.legacy.wikibits' => array(
1334 'scripts' => 'common/wikibits.js',
1335 'remoteBasePath' => $GLOBALS['wgStylePath'],
1336 'localBasePath' => $GLOBALS['wgStyleDirectory'],
1337 'dependencies' => array(
1340 'position' => 'top',
1345 'mediawiki.ui' => array(
1346 'skinStyles' => array(
1347 'default' => 'resources/mediawiki.ui/default.less',
1348 'vector' => 'resources/mediawiki.ui/vector.less',
1350 'position' => 'top',
1351 'targets' => array( 'desktop', 'mobile' ),
1353 // Lightweight module for button styles
1354 'mediawiki.ui.button' => array(
1355 'skinStyles' => array(
1356 'default' => 'resources/mediawiki.ui/components/default/buttons.less',
1357 'vector' => 'resources/mediawiki.ui/components/vector/buttons.less',
1359 'position' => 'top',
1360 'targets' => array( 'desktop', 'mobile' ),
1364 // WARNING: OOjs and OOjs-UI are NOT COMPATIBLE with older browsers and
1365 // WILL BREAK if loaded in browsers that don't support ES5
1368 'resources/oojs/oojs.js',
1370 'targets' => array( 'desktop', 'mobile' ),
1374 'resources/oojs-ui/oojs-ui.js',
1377 'resources/oojs-ui/oojs-ui.svg.css',
1379 'skinStyles' => array(
1380 'default' => 'resources/oojs-ui/oojs-ui-apex.css',
1381 'minerva' => array(),
1383 'messages' => array(
1384 'ooui-dialog-action-close',
1385 'ooui-outline-control-move-down',
1386 'ooui-outline-control-move-up',
1387 'ooui-outline-control-remove',
1388 'ooui-toolbar-more',
1390 'dependencies' => array(
1393 'targets' => array( 'desktop', 'mobile' ),